package cn.tedu.overhaul.management.dto.persist.repository;

import cn.tedu.overhaul.management.pojo.entity.Overhaul;
import cn.tedu.overhaul.management.pojo.vo.*;
import cn.tedu.rtms.commons.pojo.vo.PageData;
import org.springframework.transaction.annotation.Transactional;

public interface IOverhaulRepository {

    //查询检修记录表, pageNum  页码,pageSize 每页记录数
    PageData<MaintainVO> selectMaintain(Integer pageNum, Integer pageSize);

    //根据ID修改面板查询检修记录
    MaintainStandardNameVO getStandardById(Long id);

    //根据id修改检修记录数据
    int update(OverhaulVO overhaulVO);

    //根据id删除检修记录数据
    int deleteById(Long id);
}
